import store from '@/store/store'
import layout from '../components/layout.vue'

export default [
    {
        path: '/planManage',
        name: 'planManage',
        component: layout,
        children: [
            {
                path: '/planManage/orderSchedul',
                name: 'orderSchedul ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/orderSchedul/index.vue'),
            },
            {
                path: '/planManage/productionPlan',//设备关联
                name: 'productionPlan ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/productionPlan/index.vue'),
            },
            {
                path: '/planManage/orderAdjustment',
                name: 'orderAdjustment ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/orderAdjustment/index.vue'),
            },
            {
                path: '/planManage/workOrderProgress',
                name: 'workOrderProgress ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/workOrderProgress/index.vue'),
            },
            {
                path: '/planManage/operationRecords',
                name: 'operationRecords',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/operationRecords/index.vue'),
            },
            {
                path: '/planManage/operationRecords/detail',
                name: 'operationRecordsDetail',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/operationRecords/detail.vue'),
            },
            {
                path: '/planManage/materialCutting',
                name: 'materialCutting ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/planManage/materialCutting/index.vue'),
            },
        ]

    },
   
]